package ide.ccf.ccproject;

import ide.ccf.ccproject.launch.LaunchConfig;

import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.ui.IStartup;


/**
 * 工作台初始化后的启动
 *
 */
public class CCFStartup implements IStartup 
{
	/**
	 * 工作台启动后将会在一个单独的线程中调用
	 */
	public void earlyStartup() 
	{
		new ProjectMonitor();
		
		ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
		LaunchConfig lc = new LaunchConfig();
		launchManager.addLaunchConfigurationListener(lc);
	}

}